.recommend {
    display: flex;
    flex-wrap: wrap;
    padding:.1rem 0;
    overflow-y: auto;
    background-color: #f8f8f8;
}

.recommend .itembox {
    width: 45%;
    height: 2.6rem;
    padding:.1rem 0 .1rem .16rem; 
    box-sizing: border-box;
    background-color: #fff;
    border-radius: .1rem;
    margin:.08rem;
}

.recommend .itembox p:nth-of-type(1) {
    width: 100%;
    height: .36rem;
    text-overflow: -o-ellipsis-las;
    text-overflow:ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: .1rem 0;
}
.recommend .itembox img {
    width: 80%;
    margin-bottom: .1rem;
}
.recommend .itembox >span{
    color: red;
    padding: .04rem;
    background-color: rgb(251, 225, 230);
    font-size: 12px;
    border-radius: .05rem;
}
.recommend .itembox p:nth-of-type(2){
    color: red;
    font-size: 12px;
    margin: .08rem 0;
}
.recommend .itembox p:nth-of-type(2) span{
    font-size: 16px;
}